|
Public Member Functions |
| | TMCColorRGBA (void) |
| | TMCColorRGBA (const TMCColorRGB &rgb, real a=1) |
| | TMCColorRGBA (const real rr, const real gg, const real bb, const real aa) |
| void | Set (const real rr, const real gg, const real bb, const real aa) |
| boolean | IsEqual (const TMCColorRGBA &rhs, const real epsilon=0.0) const |
| real | GetMagnitude (void) const |
| real | GetMagnitudeSquared (void) const |
| real | GetMinOfRGB (void) const |
| real | GetMaxOfRGB (void) const |
| boolean | IsClamped (void) const |
| void | Clamp (void) |
| void | Interpolate (const TMCColorRGBA &from, const TMCColorRGBA &to, const real interpolant) |
| void | Interpolate (const TVector2 &interpolants, const TMCColorRGBA &lowerLeft, const TMCColorRGBA &lowerRight, const TMCColorRGBA &upperLeft, const TMCColorRGBA &upperRight) |
| void | AccumRGBA (const TMCColorRGBA &rhs, const real scalar) |
| void | AccumRGB (const TMCColorRGBA &rhs, const real scalar) |
| void | Add (const TMCColorRGB &rhs) |
| boolean | operator== (const TMCColorRGBA &rhs) const |
| boolean | operator!= (const TMCColorRGBA &rhs) const |
| TMCColorRGBA & | operator= (const int32 i) |
| TMCColorRGBA & | operator= (const TMCColorRGB &c) |
| TMCColorRGBA & | operator+= (const TMCColorRGBA &rhs) |
| TMCColorRGBA & | operator-= (const TMCColorRGBA &rhs) |
| TMCColorRGBA & | operator *= (const real s) |
| TMCColorRGBA & | operator/= (const real s) |
| TMCColorRGBA | operator+ (const TMCColorRGBA &rhs) const |
| TMCColorRGBA | operator- (const TMCColorRGBA &rhs) const |
| TMCColorRGBA | operator * (const real s) const |
| TMCColorRGBA | operator/ (const real s) const |
| real | operator * (const TMCColorRGBA &rhs) const |
| TMCColorRGBA | operator% (const TMCColorRGBA &rhs) const |
| TMCColorRGBA8 & | ToRGBA8 (TMCColorRGBA8 &c) const |
| TMCColorRGBA8 & | ToRGBA8Unclamped (TMCColorRGBA8 &c) const |
| const real * | GetAddrFirstComponent (void) const |
| real | operator[] (int32 index) const |
| real & | operator[] (int32 index) |
Static Public Attributes |
| static const real | kMaxIntensity |
| | equals 1.0f
|
| static const real | kInvMaxIntensity |
| | equals 1.0f/kMaxIntensity;
|
| static const TMCColorRGBA | kBlackNoAlpha |
| static const TMCColorRGBA | kBlackFullAlpha |
| static const TMCColorRGBA | kWhiteNoAlpha |
| static const TMCColorRGBA | kWhiteFullAlpha |